<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class DiscountVideoRank extends Model
{
    public $table = 'discount_video_rank';

    protected $appends = ['date_week'];

    public function userProfile()
    {
        return $this->belongsTo(UserProfile::class, 'user_id', 'user_id');
    }

    public function getDateWeekAttribute()
    {
        return '';
    }
}
